﻿using AJWPFAdmin.Services.AppointAPI.Ganzhou;
using WebApiClientCore.Attributes;


namespace AJWPFAdmin.Services.AppointAPI
{
    [LoggingFilter(Enable = false)]
    [GanzhouHostFilter]
    public interface IGanzhouApiImplement : IGanzhouApiService
    {
        /// <summary>
        /// 获取api的token
        /// </summary>
        /// <param name="request">请求报文</param>
        /// <returns></returns>

        [HttpGet("/interface-qymj/token/gettoken")]

        Task<GanzhouGetTokenRes> GetToken([PathQuery] GanzhouGetTokenReq request);

        [HttpPost("/interface-qymj/data/receivecompanydata")]
        [GanzhouHeaderFilter]
        Task<GanzhouUploadComanyInfoRes> PostComanyInfo([JsonContent] List<GanzhouUploadComanyInfoReq> request);

        [HttpPost("/interface-qymj/data/receivedevicedata")]
        [GanzhouHeaderFilter]
        Task<GanzhouUploadDeviceInfoRes> PostDeviceInfo([JsonContent] List<GanzhouUploadDeviceInfoReq> request);

        [HttpPost("/interface-qymj/data/receiveqymjdata")]
        [GanzhouHeaderFilter]
        Task<GanzhouUploadShippingRecordInfoRes> PostShippingRecordInfo([JsonContent] List<GanzhouUploadShippingRecordInfoReq> request);

    }
}
